package com.wind;

import java.util.ArrayList;
import java.util.List;

public class WindConstraintViolation {

	private WindConstraint constraint = null;
	
	private WindEntity entity = null;
	
	private WindTypeAttribute attribute = null;
	
	private List<String> parameters = new ArrayList<String>();
	
	public WindConstraintViolation(WindConstraint constraint, WindEntity entity, WindTypeAttribute attribute) {
		this.constraint = constraint;
		this.entity = entity;
		this.attribute = attribute;
	}
	
	public WindConstraint getConstraint() {
		return constraint;
	}

	public void setConstraint(WindConstraint constraint) {
		this.constraint = constraint;
	}

	public List<String> getParameters() {
		return parameters;
	}

	public void addParameter(String parameter) {
		getParameters().add(parameter);
	}

	public void setParameters(List<String> parameters) {
		this.parameters = parameters;
	}

	public WindEntity getEntity() {
		return entity;
	}

	public void setEntity(WindEntity entity) {
		this.entity = entity;
	}

	public WindTypeAttribute getAttribute() {
		return attribute;
	}

	public void setAttribute(WindTypeAttribute attribute) {
		this.attribute = attribute;
	}
	
	
}
